<style>
.fui-goods-item .image {
    height: 7rem;
    width: 10rem;
}
.fui-goods-group {
    padding:0.3rem
}
.timer {
    font-size: .6rem;
    height: .95rem;
    color: #ef4f4f;
}
.timer span {
    display: inline-block;
    background:#582e19;
    color:#fff;
    width:.9rem;height:.9rem;
    border-radius: .1rem;
    line-height:.9rem;
    font-size:.5rem; text-align: center;
}
.radius .jy-group {border-radius:0.5rem;margin:0.35rem 0.5rem}
.radius .jy-group .fui-cell-group{border-radius:0.5rem;margin-top:0}
.bgfff .jy-group {background: #fff}
</style>
<div class="jy-group">
	<div class="fui-tab-scroll" style="padding-bottom:0.2rem;height:2.9rem">
		<div ng-class="{'item':1,'on':pagedata.params.groupid==0}" style="height:2rem;line-height:1.5rem"><a href="javascript:;" ng-click="pagedata.params.groupid=0;tool.get_list('jy_yxfrom/fuwu.list/getlist/',true)">所有项目</a></div>
		<div ng-repeat="tab in pagedata.groups" style="height:2rem;line-height:1.5rem" ng-class="{'item':1,'on':pagedata.params.groupid==tab.id}"><a href="javascript:;" ng-click="pagedata.params.groupid=tab.id;tool.get_list('jy_yxfrom/fuwu.list/getlist/groupid='+tab.id,true)">{{tab.title}}</a></div>
	</div>
	<div ng-if="pagedata.list.length>0" class="fui-goods-group no {{item.total <=0?'disabled':''}}" style="padding:0;background-color:#f7f7f7">
			<div ng-repeat="item in pagedata.list" class="fui-goods-item" style="padding:0;margin:0.2rem 0;border: 0px solid #e7e7e7;">
				<div ng-click="access_json('jy_yxfrom/fuwu.detail//id='+item.id)" ng-class="{'image':1, 'echelon':item.active.title}" style="background-image: url({{tomedia(item.image) ||'../core/resource/images/nopic.jpg'}})">
				</div>
				<div class="detail" style="height:2.6rem;padding-left:0.3rem;padding-top:0.2rem">
					<div ng-click="access_json('jy_yxfrom/fuwu.detail//id='+item.id)" class="overflow-h bold" style="width:10rem">
							{{item.title}}
					</div>
					<div ng-if="item.desc" class="subtitle overflow-h2" style="width:10rem">
							{{item.desc || '暂时没有项目描述... ...'}}
					</div>
					<div>
						<div ng-if="item.order_types.indexOf(';0;')>=0" class="fui-tag fui-tag-danger" style="background:linear-gradient(to right,rgba(244,221,187,0.6),rgba(235,216,174,1));color:#512f0a;width:auto;font-weight:400">产品寄修</div>
						<div ng-if="item.order_types.indexOf(';1;')>=0" class="fui-tag fui-tag-danger" style="background:linear-gradient(to right,rgba(244,221,187,0.6),rgba(235,216,174,1));color:#512f0a;width:auto;font-weight:400">到店维修</div>
						<div class="price syscolorred" style="margin-top:0.3rem">￥ 
							<span class="text">
								<span style="font-weight:bold;font-size:0.8rem;">{{item.price}}</span>
								/次
							</span>
							<span class="syscolorred" style="padding-right:0.5rem" href="javascript:" ng-click="access_json('jy_yxfrom/fuwu.book//fuwuid='+item.id)"><i class="icon icon-weixiu"></i></span>
						</div>
					</div>
				</div>
			</div>
	</div>
	<div class='content-empty' style="margin-top:0">
		<div ng-if="!pagedata.list || pagedata.list.length<1">
			<i class='icon icon-cry'></i><br/>没有任何项目！
		</div>
	</div>
	<div ng-if="pagedata.loading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
</div>
<script>
scope.tool.get_list('jy_yxfrom/fuwu.list/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_yxfrom/fuwu.list/getlist/');
}
</script>
